home *** CD-ROM | disk | FTP | other *** search
/ Software Vault: The Gold Collection / Software Vault - The Gold Collection (American Databankers) (1993).ISO / cdr49 / ufexpand.zip / FEXPAND.ZIP / MSCBUILD.BAT < prev    next >
DOS Batch File  |  1993-03-03  |  827b  |  23 lines

  1. @echo off
  2.  
  3. rem This batch file builds the example programs
  4. rem using the Microsoft C compiler.  It assumes that the
  5. rem INCLUDE and LIB environment variables are set properly for MSC.
  6.  
  7. rem The model used here is the Small model.
  8. rem To change the model, use -AX where X is one of M, C, L
  9. rem for Medium, Compact, and Large respectively and then
  10. rem use the msc\Xfexpand.lib where X is also M, C, L.
  11.  
  12. rem EXAMPLE1.EXE illustrates the use of the Xsetargv.obj module
  13. rem so that the wildcarding takes place before main is even called
  14. rem (i.e. argv is already expanded).
  15.  
  16. cl -W3 -AS example1.c ..\msc\Ssetargv.obj -link /NOE ..\msc\Sfexpand.lib
  17.  
  18.  
  19. rem EXAMPLE2.EXE illustrates calling all of the available functions
  20. rem in the File Template Expander directly.
  21.  
  22. cl -W3 -AS example2.c -link ..\msc\Sfexpand.lib
  23.